FLATPAK BUILD-INIT(1) | flatpak build-init | FLATPAK BUILD-INIT(1) |
NAME¶
flatpak-build-init - Initialize a build directory
SYNOPSIS¶
flatpak build-init [OPTION...] DIRECTORY APPNAME SDK RUNTIME [BRANCH]
DESCRIPTION¶
Initializes a directory for building an application. DIRECTORY is the name of the directory. APPNAME is the application id of the app that will be built. SDK and RUNTIME specify the sdk and runtime that the application should be built against and run in.
The result of this command is that a metadata file is created inside the given directory. Additionally, empty files and var subdirectories are created.
It is an error to run build-init on a directory that has already been initialized as a build directory.
OPTIONS¶
The following options are understood:
-h, --help
--arch=ARCH
-v, --var=RUNTIME
-w, --writable-sdk
--tag=TAG
--sdk-extension=EXTENSION
--extension=NAME=VARIABLE[=VALUE]
--sdk-dir
--update
--base=APP
--base-version=VERSION
--base-extension=EXTENSION
--type=TYPE
--extension-tag=EXTENSION_TAG
--verbose
--ostree-verbose
EXAMPLES¶
$ flatpak build-init /build/my-app org.gnome.Sdk org.gnome.Platform 3.16
SEE ALSO¶
flatpak(1), flatpak-build(1), flatpak-build-finish(1), flatpak-build-export(1)
flatpak |